﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Discovery;
using System.Xml;

namespace Devtm.ServiceModel.Discovery
{


    public class DirectoryStore
    {


        protected void PrintDiscoveryMetadata(EndpointDiscoveryMetadata endpointDiscoveryMetadata, string verb)
        {
            Console.WriteLine("\n**** {0} service of the following type from cache. ", verb);
            foreach (XmlQualifiedName contractName in endpointDiscoveryMetadata.ContractTypeNames)
            {
                Console.WriteLine("** {0}", contractName.ToString());
                break;
            }
            Console.WriteLine("**** Operation Completed");
        }


    }
}
